package com.example.springboot_manage.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/manage")
public class ManHandler {

    @RequestMapping("/admin")
    public String toAdmin(){
        return "admin";
    }

    @RequestMapping("/toShoeInfo")
    public String toFindShoeInfo(){
        return "perm/shoeInfo";
    }

    @RequestMapping("/toOrderMaster")
    public String toFindMaster(){
        return "perm/orderMaster";
    }

    @RequestMapping("/toCategory")
    public String toFindCategory(){
        return "perm/category";
    }

    @RequestMapping("/toUpdateCategory")
    public String toUpdateCategory(){
        return "perm/updateCategory";
    }

    @RequestMapping("/toSaveCategory")
    public String toSaveCategory(){
        return "perm/addCategory";
    }

    @RequestMapping("/toUpdateShoeInfo")
    public String toUpdateShoeInfo(){
        return "perm/updateShoeInfo";
    }

    @RequestMapping("/toSaveShoeInfo")
    public String toSaveShoeInfo(){
        return "perm/addShoeInfo";
    }

    @RequestMapping("/toUpdateOrderMaster")
    public String toUpdateOrderMaster(){
        return "perm/updateOrderMaster";
    }

    @RequestMapping("/toSpecsInfo")
    public String toFindSpecsInfo(){
        return "perm/specsInfo";
    }

    @RequestMapping("/toUpdateSpecsInfo")
    public String toUpdateSpecsInfo(){
        return "perm/updateSpecsInfo";
    }

    @RequestMapping("/toSaveSpecsInfo")
    public String toSaveSpecsInfo(){
        return "perm/addSpecsInfo";
    }

    @RequestMapping("/toSpecsColor")
    public String toFindSpecsColor(){
        return "perm/specsColor";
    }

    @RequestMapping("/toUpdateSpecsColor")
    public String toUpdateSpecsColor(){
        return "perm/updateSpecsColor";
    }

    @RequestMapping("/toSaveSpecsColor")
    public String toSaveSpecsColor(){
        return "perm/addSpecsColor";
    }

    @RequestMapping("/toSpecsSize")
    public String toFindSpecsSize(){
        return "perm/specsSize";
    }

    @RequestMapping("/toUpdateSpecsSize")
    public String toUpdateSpecsSize(){
        return "perm/updateSpecsSize";
    }

    @RequestMapping("/toSaveSpecsSize")
    public String toSaveSpecsSize(){
        return "perm/addSpecsSize";
    }

    //社团章程发布页面
    @RequestMapping("/toSaveBulletin")
    public String toBulletin() {
        return "perm/addBulletin";
    }

    @RequestMapping("/toBulletin")
    public String toBulletinPage() {
        return "perm/bulletin";
    }

    //个人基本信息
    @RequestMapping("/toPersonInfo")
    public String toPersonInfo() {
        return "/personInfo";
    }
    //个人密码修改
    @RequestMapping("/toPassWord")
    public String toPassWord() {
        return "/updatePwd";
    }

    //跳转订单一览
    @RequestMapping("/toBulletinInfo")
    public String toBulletinInfo() {
        return "perm/bulletinInfo";
    }



}
